<?php
namespace Core;

class Constant{
    public static $EVENT_NAME_ADMIN_EXCEPTION = 'admin.exception';
    public static $EVENT_NAME_FRONT_EXCEPTION = 'front.exception';
    public static $EVENT_NAME_DISTRIBUTION_EXCEPTION = 'distribution.exception';

    public static $PRIVILEGE_TYPE_ACCESS_PAGE_CODE = 'PAGE_ACCESS';
    public static $PRIVILEGE_TYPE_ACCESS_ACTION_CODE = 'ACTION_ACCESS';

    public static $SELECT_ALL_VALUE= 'ALL';
    static $ROLE_ADMIN_CODE = 'ADMIN';
    static $CATEGORY_GROUP_DISH = 'DISH';

    static $CATEGORY_GROUP_SUBDISH = 'SUB_DISH';
    static $CATEGORY_GROUP_ARTICLE = 'ARTICLE';
    static $CATEGORY_GROUP_SUBARTICLE = 'SUB_ARTICLE';
    static $SYSTEM_DELIMINATOR = '$$$';

    static $RESTAURANT_STATUS_PUBLISHED = 'PUBLISHED';
    static $RESTAURANT_STATUS_LOCAL = 'LOCAL';
    static $RESTAURANT_STATUS_INACTIVE = 'INACTIVE';
    static $RESTAURANT_STATUS_BANNED = 'BANNED';

    static $SYSTEM_ROLE_CODE_MEMBER = 'MEMBER';
    static $SYSTEM_ROLE_CODE_ADMIN = 'ADMIN';
    static $SYSTEM_ROLE_CODE_RES_STAFF = 'RES_STAFF';
    static $SYSTEM_ROLE_CODE_OPERATOR = 'OPERATOR';


    static $FRONT_MENU_CODE_TOPMENU = 'TOPMENU';

    static $USER_STATUS_ACTIVATED = 'ACTIVATED';
    static $USER_STATUS_INACTIVATE = 'INACTIVATE';

    static $DEFAULT_LANG_NEED_UPDATE = 'On updating';

}